/**
* File functions.js.
*
* Contains handlers for navigation, search and scroll to top button.
*/
( function( $ ) {
"use strict";
var body, masthead, menuToggle, headerMenu, menuPrimary, menuSecondary, resizeTimer;
function initMainNavigation( container ) {
// Add dropdown toggle that displays child menu items.
var dropdownToggle = $( '